package com.atguigu.zhxy.service;


import com.atguigu.zhxy.pojo.Admin;
import com.atguigu.zhxy.pojo.LoginForm;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
* @author Hoker
* @description 针对表【tb_admin】的数据库操作Service
* @createDate 2024-06-02 10:42:07
*/
@Service
@Transactional
public interface TbAdminService extends IService<Admin> {

    Admin login(LoginForm loginForm);

    IPage<Admin> getAdmins(Page<Admin> pageParam, String adminName);
}
